<template>
  <div>
    <Counter :count="count" @changeCount="changeCount" />
  </div>
</template>

<script>
import Counter from './components/Counter'

export default {
  name: 'QAPage',
  components: {
    Counter,
  },
  data() {
    return {
      count: 10,
    }
  },
  methods: {
    changeCount(data) {
      console.log(data, 'data')
      this.count = data
    },
  },
}
</script>
